package com.anlu.base.function.mode;

@FunctionalInterface
public interface LogFunction {

    void log(String msg);

    default void logError(String error) {
        log("ERROR:" + error);
    }

}
